﻿
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>搜禾网登录</title>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="{:_SKIN}/weixin/shop/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="{:_SKIN}/weixin/shop/css/denglu.css" />
  </head>
  <style type="text/css">
  
input { font-size: 20px }

</style>
  <body>
    <div class="content">
      <!--头像-->
      <div class="touxiang">
       <img src="{:_SKIN}/weixin/my/pic/p1.png" width="50%"; style="border-radius: 200px" />
      </div>
      <!--表单-->
      <div class="biaodan">
        
          <div style="text-align: center;margin-bottom: 40px;">
            <button class="denglu">登录</button>
          </div>
          <div>
            <input type="text" placeholder="请输入手机号码" class="tel in-1 zuo iput"/>
          </div>
          <div>
            <input type="password" placeholder="请输入密码" class="pwd in-3 iput"/>
          </div>
          
          <div class="fan">
           
            <a href="{:u('rpwd')}" class="you" style="color: #B1B1B1;">忘记密码</a>
          </div>
          <div style="text-align: center;">
            <button class="xiugai" type="button" onclick="sub()">立即登录</button>
          </div>
          <div class="zhuce you">
            <a href="{:u('reg')}" >还没有账号，请立即注册</a>
          </div>
       
      </div>
    
      <!--底部-->
      <div class="dibu">
        <div style="width: 90%;margin: 0 auto;">
          <p class="disan zuo">微信一键登录</p>
        </div> 
        <div class="disantu">
         <a href="{:url('weixin/index/wxlogin')}" onclick="$.showLoading('微信登录中')"><img src="{:_SKIN}/weixin/shop/img/weixin.png" width="14%"/></a> 
        <!--  <a href="#"><img src="img/qq.png" width="14%"/></a>
          <a href="#"><img src="img/weibo.png" width="14%"/></a> -->
        </div>
      </div>
    </div>
    <link rel="stylesheet" href="//cdn.bootcss.com/weui/1.1.1/style/weui.min.css">
<link rel="stylesheet" href="//cdn.bootcss.com/jquery-weui/1.0.1/css/jquery-weui.min.css">


  
{:jq()}
<script src="//cdn.bootcss.com/jquery-weui/1.0.1/js/jquery-weui.min.js"></script>
    
<script type="text/javascript">
var url="{$rurl}";

   function sub(){

   var data={tel:$(".tel").val(),pwd:$(".pwd").val()};
   if(!data.tel || !data.pwd){

    $.toptip('请输入手机号码和密码', 'error');
    return false;
   }
  $.showLoading('登录中');
   $.post(' ',data,function(res){
    $.hideLoading();
 
   if(res.code==200){

      $.showLoading('跳转中');
     window.location.href=url;


   }else{

     
       $.toptip(res.msg, 'error');
   

   }


   });



   }


</script>

  </body>
</html>
